﻿using System;
using AMM.DataAccess;

namespace AMM.Business {
    public class BaseProcessor {

        private CommonRepository _commonRepository;

        public BaseProcessor() {
            this._commonRepository = new CommonRepository();
        }

        public void SyncData() {
            this._commonRepository.SyncData();
        }

        protected Exception BuildException(string info) {
            return new Exception(info);
        }
    }
}
